<?php
/**
 * Created by PhpStorm.
 * User: Celebration-Grey
 * Date: 7/11/2017
 * Time: 9:34 PM
 */

Route::group(['namespace' => 'Common', 'middleware' => 'web', 'prefix' => '/'], function () {
    Route::get(  'getCaptcha',              'CaptchaController@getCaptcha');

    Route::get(  'getBooksByMaterial',      'BookController@getBooksByMaterial');
    Route::get(  'getAllBooks',             'BookController@getAllBooks');
    Route::get(  'getLessonsByBook',        'LessonController@getLessonsByBook');
    Route::get(  'getLessonById',           'LessonController@getLessonById');
    Route::get(  'getAllLessons',           'LessonController@getAllLessons');
    Route::get(  'getSentencesByLesson',    'SentenceController@getSentencesByLesson');
    Route::get(  'getWordsByLesson',        'WordController@getWordsByLesson');
    Route::get(  'getAboutUs',              'HelpController@getAboutUs');
    Route::get(  'getCustomerService',      'HelpController@getCustomerService');
    Route::get(  'getHelp',                 'HelpController@getHelp');
});